﻿using System.Windows;

namespace VisualWip
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        private BootStrapper _bootStrapper;

        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            _bootStrapper = new BootStrapper();
        }

        protected override void OnExit(ExitEventArgs e)
        {
            _bootStrapper.SaveSettings();

            base.OnExit(e);
        }
    }
}